﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Finance.Treasuries.Repositories
{
    public interface IPaymentOrderLinkRepository : IRepository<PaymentOrderLink, Guid>
    {
        Task<long> GetCountAsync(Guid? orderId, Guid? paymentId, CancellationToken cancellationToken = default(CancellationToken));

        Task<List<PaymentOrderLink>> GetListAsync(Guid? orderId, Guid? paymentId, CancellationToken cancellationToken = default(CancellationToken));

        Task<List<PaymentOrderLink>> GetListAsync(List<Guid> orderId , CancellationToken cancellationToken = default(CancellationToken));
    }
}
